<?php

namespace app\api\controller;

use app\BaseController;//测试专用
use think\facade\Db;
use app\api\logic\ApiAddTagLogic;
use Throwable;

class ApiAddTag extends BaseController
{
    /**
     * 模型
     * @var object
     * @phpstan-var ApiAdvaccountModel
     */

    public function initialize(): void
    {
        parent::initialize();
    }

    /**
     * 获取list
     * @throws Throwable
     */
    public function ApiProductList()
    {
        $params     = $this->request->get();
        $ApiAddTagLogic = new ApiAddTagLogic();
        return $ApiAddTagLogic->ApiProductList($params);
    }

    /**
     * 获取list
     * @throws Throwable
     */
    public function ApiProductAddTag()
    {
        $params     = $this->request->get();
        $ApiAddTagLogic = new ApiAddTagLogic();
        return $ApiAddTagLogic->ApiProductAddTag($params);
    }

    /**
     * 获取list
     * @throws Throwable
     */
    public function ApiCustomerAddTag()
    {
        $params     = $this->request->get();
        $ApiAddTagLogic = new ApiAddTagLogic();
        return $ApiAddTagLogic->ApiCustomerAddTag($params);
    }

}
